﻿using MediatR;
using RedDragon.Common.Domain.MaterialManagements;
using SqlSugar;
using T.Common.Domain.Common;

namespace RedDragon.ERP.API.Application.Commands.MaterialManagements
{
    /// <summary>
    /// 物料类别添加Command
    /// </summary>
    public class CreateMaterialCategoryCommand:IRequest<Result>
    {
        /// <summary>
        /// 物料类别ID
        /// </summary>
        public int MaterialCategoryId { get; set; }
        /// <summary>
        /// 类别名称
        /// </summary>
        public string? MaterialCategoryName { get; set; }
        /// <summary>
        /// 父级ID
        /// </summary>
        public int? PId { get; set; }
        /// <summary>
        /// 是否删除 1-未删除；2-删除
        /// </summary>
        public int? IsDel { get; set; }
    }
}
